package com.xinghai.system.domain.entity;

import com.xinghai.common.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 店铺商品对象 qd_shop_good
 *
 * @author xinghai
 * @date 2025-01-26
 */
@Data
public class QdShopGoodOrderDTO extends BaseEntity
{
    /** 商品id */
    @NotNull(message = "商品id不能为空")
    private Long goodId;

    @NotNull(message = "商品数量必须大于0")
    private int goodNum;


}
